package com.neo.utils;

/**
 * Created by lixiangxiang on 2017/5/17.
 */
public class O2OResponseCode {
    /**
     * 成功
     */
    public static final int SUCCESS = 200;

    /**
     * 未认证
     */
    public static final int UNAUTHORIZED = 401;

    /**
     * 拒绝访问
     */
    public static final int ERROR_ACCESS_DENIED = 403;

    /**
     * 默认错误代码
     */
    public static final int DEFAULT_ERROR = 600;
    /**
     * 微立贷vbs服务返回错误
     */
    public static final int VLD_VBS_SERVICE_ERROR = 601;

    /**
     * 校验失败
     */
    public static final int ERROR_VALIDATE = 601;

    /**
     * 已经存在(重复数据)
     */
    public static final int ERROR_DUPLICATE = 602;

    /**
     * 不存在(未找到)
     */
    public static final int ERROR_NOT_FOUND = 604;


    /**
     * 接口参数数据格式不正确
     */
    public static final int ERROR_INVALID_PARAMETER = 605;

    /**
     * VBS服务异常
     */
    public static final int ERROR_VBS_SERVER = 610;


    /**
     * 身份证校验失败
     */
    public static final int ERROR_CHECK_IDCARD_FAILED = 701;

    /**
     * 无门店
     */
    public static final int ERROR_NO_STORE = 702;

    /**
     * 预审失败
     */
    public static final int ERROR_PREREVIEW_FAILED = 703;

    /**
     * 不符合贷款
     */
    public static final int ERROR_ORDER_FAILED = 600;

    /**
     * 银行卡实名认证失败
     */
    public static final int ERROR_CREDIT_CHECK_FAILED = 720;

    /**
     * 超过次数
     */
    public static final int ERROR_OVER_LIMIT = 740;

    /**
     * 维立贷 贷前贷后输出状态值
     */

    //成功
    public static final int VBS_ERROR_STATUS = 0;
    //失败
    public static final int VBS_SUCCESS_STATUS = 1;
    //异常
    public static final int VBS_EXCEPTION_STATUS = -1;

}
